Switching c style escape config to use the global config object