update on cron controller. removed unused functions and gave install_database function auto file recognition