Auto export plugin part II ref #20