initial version of adding hostname to console