Fixed a lot of the repos poor set up