Fix deployment scripts.