Improve workerScripts/workerScriptsPath configuration handling