Rewriting the repo