This script is my fork of pmsetup. original is here: http://svn.bulknews.net/repos/public/misc/pmsetup