added cfg(inputCfg) for custom tags