now functional nnexus scripting