Properly set hostname