def METHOD_NAME(not_found,script_filename):
    ### submit new molecules to classyfire
    dummy_script = """curl -is http://classyfire.wishartlab.com/queries.json -X POST -d '{"label":"asdf","query_input":"query_str", "query_type":"STRUCTURE"}' -H "Content-Type: application/json"
    """
    cf_str = []
    max_cpds = 10
    counter = 0
    all_scripts = []
    for i,row in not_found.iterrows():
    #     cf_str.append('%s\\t%s'%(row.inchi_key,Chem.MolToSmiles(Chem.MolFromInchi(row.inchi_x),isomericSmiles=True)))
        cf_str.append('%s\\t%s'%(row.inchi_key,row.inchi_x))
        counter += 1
        if counter > max_cpds:
            all_scripts.append(dummy_script.replace('query_str','\\n'.join(cf_str)))
            counter = 0
            cf_str = []
    all_scripts.append(dummy_script.replace('query_str','\\n'.join(cf_str)))
    with open(script_filename,'w') as fid:
        for script in all_scripts:
            fid.write('%s\n'%script)
            fid.write('sleep 10s\n')