Account for cron (CLI_SCRIPT) environment