Updated annotation check

Changes to allow compiling of XCAS datasets for arbitrary time periods.
Useful for running script in cron.