code: def add_func(script, func_name, variables):
      """
      Adds wrapper function to the python script.
      """
      arguments = ",".join(
          ["{0}=config['{0}']".format(i) for i in variables]
      )
      wrapper_script = """\ndef aup_wrapper(config):
      res = {0}({1}) 
      print_result(res)\n""".format(
          func_name, arguments
      )
      return script + wrapper_script
  
file_path: auptimizer/src/aup/convert.py
imports: import json
  import logging
  import os
  import stat
  import click
label_desc: Use image node_id 5 for calling a global function with example usage: add_func(script, func_name, variables) and returns: unknown