Updated repo.py to work with new directory structure.