setDateRange will now take a ending date (in ISO 8601 format) Minor logic fixing to various functions to facillitate the change The CSV tweaks are to format the CSV file correctly with the info we need