improved esavoknife script