code: def create_environment(preamble):
      
      environment = copy.deepcopy(os.environ)
      for line in preamble:
          logging.debug(line)
          if "=" in line and not line.startswith("#"):
              tmp = line.split("=")
              key = tmp[0].strip()
              value = tmp[1].strip()
              logging.debug(
                  "Found variable {} with value {}".format(key, value))
              environment.update({key: value})
      logging.debug("Env {}".format(environment))
      return environment
docs: Create a dictionary of variables obtained from the preamble of
      the task file and the environment the program is running on.