added ability to send a config string