fixes to dhcp scripts