Smart virtual env