Fixed compile error and updated command line args.