Change @PATH to @DIR for clarity.  Add @FILENAME.  Addresses #869.

@DIR expands to directory path of the script, @FILENAME expands to just
the script file name without path.