If phot has been run, it won't run again, fixed fn bug
Plots are now saved, instead of displayed