Added an operating system check