set certain attribues based on platfrom_family