add support for OS discovery