Adding build_index.py script