changed the exit code if the script template to register DHCP and DNS entry for guests was run w/ wrong options
update the description of the script template to register DHCP and DNS entry for guests again to warn users
moved some shell functions