add ability to use config