updated glob sync usage in the 'processBuildScripts' method