Update gen_master_input_list.py

what is the goal?