Added print statements to various places in indexer.py