added scripts to save kos data, plus top words and phi for kos