revise deploy script