code: def write_script(name, lines):
      name = os.path.join(build_dir, name)
      lines = [line.format(**prefs) for line in lines]
      print("Writing " + name)
      with open(name, "w") as f:
          f.write("\n\r".join(lines))
      if verbose:
          for line in lines:
              print("    " + line)
  
imports: import os
  import shutil
  import struct
  import subprocess
  import sys
label_desc: Use image node_id 13 for calling a global function with example usage: write_script(name, lines) without return types