added --domain command line option to interface