reverting to the good version of make_inlists.py