Split installDependencies in 3 files: dependencies (apt-get), cron and permisisons. runAfterUpdate.sh executes all 3