add configurable export with test