Deploy script bug fixed