this is just copied from chef jig but hasn't been reworked, yet.  I can delete the incomplete files if you prefer...