Changed config settings to a global dictionary