*BSD compatability: use sh instead of bash, env for paths & optionally s...

...kip /proc test