Adding logging and json formatting. Deployed cron