unix shell and getting proper directory

I am deploying a shell script in korn shell that will be called from a cronjob.
It has to call other scripts in the same directory. However, the directory will change from server to server.

The directories are not in my path and I cannot change that.

Is there an easy way to set a variable says

DIRECTORY=`directory that this script is currently in`

DIRECTORY=`pwd`

or check for the environmental variable $PWD

pwd won't work. Since when you run a job from crontab your not running it from that directory.

If you call by by it's absolute path, you can try using

DIRECTORY=$( dirname $0 )

Of course you can change that. You put the new PATH at the top of the script.