added a command line arg for date