fix scriptsPath