Add threshold to configuration file.