added shell code for KNAStar.java