improvements to DHCP analyze script