Moved tollsys.flag code into MHN.write_arc_flag_file()