deploy script modification