More work on galaxy photometry analysis scripts