added support for systems with $SHELL set to t(csh)