Deploy script bug