adding configurable start and end times
adding cookie support for start and end times