changed order between exports and path
added support for pyenv