Add the nps_dblink function