Fixed the way that features write back to repo