First steps for create_index.py