Script to check how many commands we can successfully parse.

And fixed some bugs.