- Added parallel saving of required variables to both IndexedDB and localStorage using Promise.all for improved performance. - Implemented a recursive check for missing variables with a retry mechanism for reliable loading. - Enhanced error handling for script loading and storage processes. - Streamlined loading scripts sequentially and storing in IndexedDB and localStorage upon successful loading.