some changes according to the new hostname