Sort out repo