Updated to work with the latest version

Updated the config method