Fixed export of python env