Writing deploy script.