Move stuff from exports to env