Added menv_export to handle cleanup of exports.