add cron and classes