updated index with debugging for paths