use HTTP::Response;
use CGI;
-my $d = new HTTP::Daemon LocalPort => 8084;
+$urisetqueueport = $ENV{'URI_SET_QUEUE_PORT'} || $urisetqueueport;
+
+my $d = new HTTP::Daemon LocalPort => $urisetqueueport
+ or die "Error: port $urisetqueueport not available.";
print "Please contact me at: <URL:", $d->url, ">\n";
$SIG{CHLD} = "IGNORE"; # do not accumulate defunct processes