update a script to use a new nxblink interface