diff --git a/Event/EventBookkeeperTools/Root/BookkeeperTool.cxx b/Event/EventBookkeeperTools/Root/BookkeeperTool.cxx
index 7222472c8130cae67c9dffb57ba406b53602214d..05da271a408bd6d91f0b414fed0e38312d58d664 100644
--- a/Event/EventBookkeeperTools/Root/BookkeeperTool.cxx
+++ b/Event/EventBookkeeperTools/Root/BookkeeperTool.cxx
@@ -292,14 +292,19 @@ StatusCode BookkeeperTool::loadXAODMetaData()
 
   // If no such object is found then return
   if (itTruthMetaDataPtr == metaDataContainer->end()) {
-    ATH_MSG_ERROR("Could not load weight meta data!");
-    return StatusCode::FAILURE;
+    m_numberOfWeightVariations = 1;
+    ATH_MSG_DEBUG("Could not load weight meta data! Assumming 1 variation.");
+    return StatusCode::SUCCESS;
   }
 
   // Update cached weight data
   const std::vector<std::string> &truthWeightNames = (*itTruthMetaDataPtr)->weightNames();
 
   m_numberOfWeightVariations = truthWeightNames.size();
+  if (m_numberOfWeightVariations == 0) {
+    ATH_MSG_DEBUG("No variations present, setting to 1.");
+    m_numberOfWeightVariations = 1;
+  }
 
   return StatusCode::SUCCESS;
 #endif
diff --git a/Event/EventBookkeeperTools/test/test_CutFlowSvc.py b/Event/EventBookkeeperTools/test/test_CutFlowSvc.py
index 0ad4259ceef016c8570c21677e1566c23b8c3ae1..26403c15b12d9bd714b67a5a4480b67699a61ec1 100755
--- a/Event/EventBookkeeperTools/test/test_CutFlowSvc.py
+++ b/Event/EventBookkeeperTools/test/test_CutFlowSvc.py
@@ -4,6 +4,7 @@
 Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
 """
 import sys
+from argparse import ArgumentParser
 
 from AthenaCommon.Configurable import Configurable
 from AthenaConfiguration.AllConfigFlags import ConfigFlags
@@ -15,9 +16,18 @@ from OutputStreamAthenaPool.OutputStreamConfig import OutputStreamCfg
 
 from EventBookkeeperTools.EventBookkeeperToolsConfig import CutFlowSvcCfg, CutFlowOutputList
 
+# Argument parsing
+parser = ArgumentParser(prog='dump-cbk')
+parser.add_argument('input', metavar='input', type=str, nargs='?',
+                    help='Specify the input file')
+args = parser.parse_args()
+
 # Setup configuration
 Configurable.configurableRun3Behavior = True
-ConfigFlags.Input.Files = defaultTestFiles.AOD_MC
+if args.input:
+    ConfigFlags.Input.Files = [args.input]
+else:
+    ConfigFlags.Input.Files = defaultTestFiles.AOD_MC
 ConfigFlags.Output.AODFileName = "testAOD.pool.root"
 
 # Flags relating to multithreaded execution