added disabled days and more date range checks