change cache path to configurable