I'm not sure why you're using relative paths here, especially paths relative to the `index_path` directory.