making path references more relative