Factored out exec() from InstrumentInventory.
Merged master.