Updated to use config.get()