Clearly your script still calls @scriptdir

On top of that, the string is not quoted.
_________________________
!

download KiXnet