improves deployment script.