Understanding devices/script connection

I think you’re looking for this