added hostname setting