added ability to set command group with attribute