diff --git a/build/debian/source/options b/build/debian/source/options
new file mode 100644
index 00000000000..4918d029b84
--- /dev/null
+++ b/build/debian/source/options
@@ -0,0 +1,3 @@
+# Use bzip2 instead of gzip
+compression = "bzip2"
+compression-level = 9
diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php
index 15b28e6fc07..01d89f1168d 100644
--- a/htdocs/accountancy/bookkeeping/balance.php
+++ b/htdocs/accountancy/bookkeeping/balance.php
@@ -239,10 +239,17 @@ if ($action != 'export_csv') {
print '';
print '';
+
$parameters = array();
$reshook = $hookmanager->executeHooks('addMoreActionsButtonsList', $parameters, $object, $action); // Note that $action and $object may have been modified by hook
+ if ($reshook < 0) {
+ setEventMessages($hookmanager->error, $hookmanager->errors, 'errors');
+ }
+
+ $button = empty($hookmanager->resPrint) ? '' : $hookmanager->resPrint;
+
if (empty($reshook)) {
- $button = 'global->ACCOUNTING_EXPORT_FORMAT.')" />';
+ $button .= 'global->ACCOUNTING_EXPORT_FORMAT.')" />';
print '