fixing options.globalScripts build