Updated pnd_run (bin, not .sh) to use newer API's in libpnd