Fixed deployment script bug.