Playing around with command line scripts in Ruby