Implemented initial conditional command execution (#32).

This new code has not been tested.