OS version check modified