Fixing CLI to use correct date for "today", yesterday's date