add validation for hotplug commands