add nunda related functions
xnat query scripts, just work as I logined into NUNDA!