Fix env export