Generate latest_kgs dir