Fix deployment scripts