use C4::Context;
use C4::Biblio qw( AddBiblio );
use Koha::Database;
-use Koha::Borrowers;
use Koha::Libraries;
+use Koha::Patrons;
use Koha::Item;
use Koha::DateUtils;
$dbh->{RaiseError} = 1;
my @branches = Koha::Libraries->search();
-my $borrower = Koha::Borrowers->search()->next();
+my $borrower = Koha::Patrons->search()->next();
my $biblio = MARC::Record->new();
my $title = 'Silence in the library';