Deploymnt script upgrade