use Data::Dumper qw/Dumper/;
 use DBI;
 my $debug=0;                   # can be on brestore.conf
+our $VERSION='$Revision$';
 
 ################################################################
 
 {
     my ($self, @what) = @_;
     my $ua = LWP::UserAgent->new();
-    $ua->agent("Brestore ");
+    $ua->agent("Brestore ($VERSION)");
     my $req = POST($self->{pref}->{bconsole},
                   Content_Type => 'form-data',
                   Content => [ map { (action => $_) } @what ]);
     my ($self, %arg) = @_;
 
     my $ua = LWP::UserAgent->new();
-    $ua->agent("Brestore ");
+    $ua->agent("Brestore ($VERSION)");
     my $req = POST($self->{pref}->{bconsole},
                   Content_Type => 'form-data',
                   Content => [ job     => $arg{job},