Running scripts from home

I have created a Bourne shell script that helps with metric counting and it has to be run in a ClearCase view. It has been placed in a directory where if User A cd'd to it and runs it, a bunch of errors occur. Because this is a tool that several users would want access to and the program assumes that it is being run from User A's home directory, I have a couple of questions:

a) is there a way to create a script where User A can run the script from their home directory and have the results stored in their home directory?

b) what other solutions would be easier to accomplish this task.

Any help is appreciated. Thanks.

Use Soft link concept:

lets assume /usr is a directory having all the list of 3 the users A,B,C
And you are user "A" created a script and you want other users to execute the same without logging your directory.

ln -s /usr/A/file.sh /usr/B/file.sh
ln -s /usr/A/file.sh /usr/C/file.sh

Soft links are applicable for both files and directories.

(like shortcut in windows)

Hope my soln will wrk out. Plz reply me whether it has worked out or not?

Why not just fix the script so that it can be run from anywhere and outputs into the directory of whichever user runs it?

If a script ( as it should ) sets up it's envirnmant correctly and uses absolute paths, it should not matter where it is run from.