Added tie-in to the shd program, but I think the getComplementedFamilies needs to be fixed first