check for compatible OS