Fixed deployment script bug