don't fully understand but... couldn't pass a command line argument without adding STDIN before gets.chomp. See comments.