fixed load_cache() so that the relative paths to the cache directory work.