add osfamily support