add option to overwrite hostname