Added VIRTUAL_ENV detection