changed comments
added support for hostgroups