Added BASE_VERSION check in run time