Add a reg file for cmd setting.