added CACHE_DIR for cache location