Fixed bug with the export option for environment variables