update to take date from command line + new wd