replace command level with group keywords in config file