added menu and cron hooks