Reads variables in from query options
Adds date_range_to filter

Allows you to specify a number of days from the start date