better performance by inlining checkAll
multi os support for readme