Deploy script fix