Fix deployment code.