makng sure repository is set up correctly