add 'scriptdir' example to stash away that aweful pattern