code: def run_command(self, data):
          
          command = data.get("command")
          if self.debug:
              self.py3_wrapper.log("Running remote command %s" % command)
          if command == "refresh":
              self.refresh(data)
          elif command == "refresh_all":
              self.py3_wrapper.refresh_modules()
          elif command == "click":
              self.click(data)
docs: check the given command and send to the correct dispatcher