added a now checkbox fixed a couple of bugs with the date range