Detect windows
Add support for multiple devices