Revised deployment script.