Replacing names in project hierarchy