adjust template to accept new-style ns tools
adjust template to accept new-style ns tools

Many thanks @xpucuto for testing this.

PieterGit/oref0,openaps/oref0,PieterGit/oref0,openaps/oref0,openaps/oref0,PieterGit/oref0,openaps/oref0,PieterGit/oref0