Make config a global variable.