add option to set hostname