Added cache directory environment variable