sending trade deal once a day, also fixed up command line args, and guard against args not provided in headless mode