Allows switching between branches. resolves #1