Add cleanrepo script