added context for config_stub