Changes to repo management and allowing type button to be highlighted