Updated the command line example code. Now works!