updated to use os_family