Added operating system check