Added some debugging statements to index_project