Added update and prepare actions to compile script