adding option to supply domain name