Change local variable 'config' to 'cfg'