New and improved os detection with a plugin.