Added a new version to work with mrshirts/nk branch.

This version works with the new nk branch code.