Added support for running with a date range