addToRepo works now