Mac detection adapted, use of deviceList