Create setScriptBaseDir(scriptName) to fix jshint tests