Add RunScriptsInDir() and RunScript() fuctions.