Allow a branch name to be passed as a param

If a branch name is passed, rebuild with that branch