synch avembed.py with NewKA branch
synch avembed.py with NewKA branch

RJFreund/OpenDSA,RJFreund/OpenDSA,RJFreund/OpenDSA,RJFreund/OpenDSA,RJFreund/OpenDSA,RJFreund/OpenDSA,RJFreund/OpenDSA,RJFreund/OpenDSA