Implemented --account and --domain options