- Import to library function that already exists: make that a "importScripts()" function and call from the main body. - Expand the metadata importing into a script of its own, call similarly. Try to catch alternative methods of calling that metadata, like Reapack. - create the text to call the script in the library. - a log file in the library to keep track of versions of each filename, and only update those that need updating?