Bug fix - set the proper ks tree path instead of takingw always the latest ks tree