code: def extract_flask_settings(self):
          
          configs = {}
          configs["application_root"] = self.app.instance_path
          for name in current_app.config:
              if name.startswith("SCOUT_"):
                  value = current_app.config[name]
                  clean_name = name.replace("SCOUT_", "").lower()
                  configs[clean_name] = value
          ScoutConfig.set(**configs)
docs: Copies SCOUT_* settings in the app into Scout's config lookup