address virtual environment support
Merge pull request #1 from imrancluster/master

added virtual environment support