Fixed deployment scripts