added windows7 check