Bugfix: changed some fuctions according to changes made on bacula-org for newest 6.0.0 release