[mod] automatic setting of CACHE_LOCATION, option to overwrite it