Doesn't that run that script also when just some other than network device is connected by Bluetooth?