implemented sync config and cron