Some examples for a C driver code.

Also fixed some other bugs in addition to adding the two
new executives.