change absolute paths to relative paths