per family asm/adm and some changes to the keepalive generation loop