Change repositories configuration
Refactoring for index files