Add checkillegalcommands.py.