Improved deployment scripts