Added ability to switch branches.