Run commands/script after specific mac-address is connected

You might try running the problematic script from a detached shell launched from the hotplug script. That might help if you commands actually expect console output/input.
See