Implemented read-in of config and replacements