deploy script fix