First version of script/build_ck.rb
Tidy