Cleans up scratch.rb