Added code for adding multiple repositories