Tweaked `autoscrp.sh` to fit new publishing method.

I was having problems with the `$DIR` variable before
owing to the fact that there are spaces in the parent directory
for these scripts -- so I wrapped references to $DIR in
quotation marks to avoid issues.