Added cron command
Added conditional