enh: added ability to set hostname