automate deployment script