added cron, app now reads from file