Added mode + simplified code
Merge branch 'master' of https://github.com/paultheastronomer/paw-phot