script_export: split out type and arg_count columns