Improved depployment scripts