Move detection parameters to configuration file.