added default values for the inventory and group in add_hosts