code: def __init__(self, script_path):
      script_dir, script_name = os.path.split(script_path)
      self.name = ""
      self.script_name = script_name
      script_config = _config_for_script(script_path)
      flagdefs = _flags_for_config(script_config)
      exec_args = _exec_args_for_config(script_config)
      exec_spec = _exec_spec(script_name, exec_args)
      self.modeldef = model_proxy.modeldef_for_data(
          script_dir,
          operations={
              script_name: {
                  "exec": exec_spec,
                  "sourcecode": {"dest": "."},
                  "flags": flagdefs,
              },
          },
      )
      self.reference = modellib.script_model_ref("", script_dir)
  
file_path: guildai/examples/erlang-plugin/erlang_guild/plugins/escript.py
imports: import os
  import yaml
  from guild import config
  from guild import model
  from guild import model_proxy
  from guild import plugin
label_desc: Use image node_id 1 to create a new EScriptModelProxy object  with example: obj = EScriptModelProxy(script_path)