hotplug script fix