removed redundant commands
RegisterDeviceEventTigger replaces all of them