Added code to grab hostname