monitor device on login, using a better solution
must have a .sh suffix to make it working