udpated deploy script