Setting up the index root