Add emulation script for xe krzip API