added upgrade file and nconf check