simplifying call to CommandLine class

adding in require 'thread'

updating version