added alpha version of kbest.rb script