index: make the paths relative