code: def main(self):
          
          if self.args is None:
              self.parse()
  
          self.log = utils.initLogging(self.verbose)
  
          # Change to the desired directory
          if self.args.workingDirectory:
              os.chdir(self.args.workingDirectory)
  
          if not self.args.brokerHostname:
              self.log.info("Discovering SCOOP Brokers on network...")
              pools = discovery.Seek()
              if not pools:
                  self.log.error("Could not find a SCOOP Broker broadcast.")
                  sys.exit(-1)
              self.log.info("Found a broker named {name} on {host} port "
                            "{ports}".format(
                  name=pools[0].name,
                  host=pools[0].host,
                  ports=pools[0].ports,
              ))
              self.args.brokerHostname = pools[0].host
              self.args.taskPort = pools[0].ports[0]
              self.args.metaPort = pools[0].ports[0]
              self.log.debug("Using following addresses:\n{brokerAddress}\n"
                             "{metaAddress}".format(
                                  brokerAddress=self.args.brokerAddress,
                                  metaAddress=self.args.metaAddress,
                              ))
  
              self.args.origin = True
  
          self.setScoop()
  
          self.run()
docs: Bootstrap an arbitrary script.
          If no agruments were passed, use discovery module to search and connect
          to a broker.