write hostname