Added date range functionality and cron script example