Adding calendar start/end dates as parameters to main