new version with the idea of replacing virtualenv