Added extra branching to deploy script.