Using correct path to search index