add options for cache dir setting..