replace Config::setting calls