Attempt at getting repository working