I included the new file (mind the debug prints I commented out) and the lines left in control are:
Code: Select all
require("code.ordering")
if not item_order then item_order = {} end
if not frame_name then frame_name = 0 end
script.on_init(build_orderer())
script.on_configuration_changed(build_orderer())