changes references to relative paths