fixing host installation script and deletion of host entry from DHCP