code: def _set_script(default=""):
      script = input("training script name [%s]:" % default) or default
      if not os.path.isfile(script):
          logger.critical(
              "File %s doesn't exist, create it before experiment"
              % script
          )
          if not os.access(script, os.X_OK):
              logger.fatal(
                  "File is not self-executable, please do `chmod u+x %s`!"
                  % script
              )
      return script
  
file_path: auptimizer/src/aup/init.py
imports: import importlib
  import json
  import logging
  import os
  from collections import defaultdict
  import click
  import coloredlogs
  from six.moves import input
  from .Proposer import PROPOSERS
  from .utils import LOG_LEVEL, get_default_connector, DEFAULT_AUPTIMIZER_PATH, get_from_options
label_desc: Use image node_id 1 for calling a global function with example usage: _set_script(default) and returns: script