Add exception handling for procs that don't exist in path. Bugfix when VIRTUAL_ENV not set, define CWD