Changing absolute paths to relative paths