diff --git a/data/add_ref_line.xml b/data/add_ref_line.xml
index 93688308..3681317f 100644
--- a/data/add_ref_line.xml
+++ b/data/add_ref_line.xml
@@ -1,5 +1,47 @@
+
+
+
+
+
+ 430 1.0
+ 488 1.0
+ 562 1.0
+ 596 1.0
+ 630 1.0
+ 691 1.0
+ 834 1.0
+ 1039.6 1.0
+
+
+
@@ -54,20 +96,4 @@
-
-
-
- 430 1.0
- 488 1.0
- 562 1.0
- 596 1.0
- 630 1.0
- 691 1.0
- 834 1.0
- 1039.6 1.0
-
diff --git a/src/ReferenceLineInfo.cpp b/src/ReferenceLineInfo.cpp
index 4fd1cfb0..c7a84892 100644
--- a/src/ReferenceLineInfo.cpp
+++ b/src/ReferenceLineInfo.cpp
@@ -131,145 +131,159 @@ namespace
sm_have_tried_init = true;
- const string data_dir = InterSpec::staticDataDirectory();
- const string custom_mix_path = SpecUtils::append_path( data_dir, "add_ref_line.xml" );
-
- try
- {
- const SandiaDecay::SandiaDecayDataBase *db = DecayDataBaseServer::database();
- assert( db );
- if( !db )
- throw std::logic_error( "invalid SandiaDecayDataBase" );
-
- auto answer = make_shared