Added creating the cache directory on first provisioning