update automated packaing scripts for kai-core-code

update automated packaing scripts for kai-core-code