Updated shell script to exit virtualenv at the end