added exporter cli and fixed build