moved confidence threshold in the configuration file