Added save function for exporting environment variables.
Merge pull request #2 from Ogreman/master

Added save function for exporting environment variables.