Make paths relative to index