Added option to SunGrid for exporting active environment