It is very painful to use this script for larger enterprise with 100s of Organization. It is also better to provide switch to provide specific data by iterating through all organization and repo for specific informations.