Fixed rotation bug and saving hostname in visualization