change absolute paths to relative