Add index to repo