supporting env in export