add a globalBeforeConfig to match globalTargetConfig standard