Added virtualenv support