improved colored output of hosts script