Added addCron function to install script