if grant to sg then append grant.groupId instead grant.name

Fix for issue #4
and
the current information on ip adresses ignores secondary interfaces and secondary private ips
this is a simple fix for that

feel free to fix anything or ask for changes