Put usb3 into a script

When I plug in my usb3 thumb drive, UM finds it and displays it on the screen. But it won’t show up until I unplug and replug it back in. So there must be code that works. If that code were to be in a script and would run upon starting…then I wouldn’t have to unplug and then replug after boot up