accessing multiple devices via a script