added HostName to get hostname & IP