Add nvs check script for keystone