create prune.rb utility script