Changing mode of deploy script.