revise deploy script.