improved finding of repos and printing