Allow the offset ("days ago") to be set in ENV variables.
Default is now 2 days, and assumes cron jobs will all be the same day.
Merge branch 'develop' into nagw