registerdevice

Registerdevice moved back to .run()