Working photometry script, now working on differential photometry part