Rewrite of dispatch.pl in the Debian PTS