&C4Connect, and generally prefer C4::Context over C4::Database.
branchtransfers table Circ2.pm has been changed a little admin/branches.pl alows branches to be added, edited and deleted. updatedatabase needs more fixing