Removed write-objects-local and read-objects-local, and changed all calls to them to use export-to-file and import-from-file. Also removed the global variable path