make_index_dlm.py now uses optparse instead of argparse for compatibility with older python3 versions