A good start would be to add in airmass constraints. Currently the default is hard-coded to be an airmass of 2.5.