Changed the way that the path is edited.