Now the script doesn't fail if sourced from cshrc but it can't detect its name and location (only tcsh)

--HG--
branch : bgschaid/minorAdditionsBranch