Deploy script improved.