Added the treshold to the configuration file.