explain how to use substitute repos