Proper use of assign

Was overriding values in the `globalConfig` object