updated pnd_make.sh based on comments from the ML and irc: