ruby code, command line programs