Adding a gen_name dictionary to get_indexes.py module