All code is executed in local scope now.
Added virtualenv support