change hostname hashing to get the same colors as before