Allow for the script to be renamed

- use basename $0 instead of hard coded "stash"