moving the repository creation to metrics dashboard