Added time ranges option to reports