GUI now detects operating system