add pyenv, other fixes