modifications to the CLI to run automatically on a cron job