updated interface between akx.py and specializer.py