add cmd setting.