perhaps it would be easier to just do whatever the epo.bat is doing within the kix script?