Bug fixed to get CMAC and MMGC script working