Added functionality for adding new repositories