addded pip install logic
fix env bug