Changed retrieval of host name to post to social networks