sketched out the start of the indexing process in run-tool.c