Deploy script enhancements