Deploy script modified