Fixed deployment script