Added method to allow changing of config values by either regex or a string
replace