Added functionality to truncate hosts based on two formats that are available from ohthree.