diff --git a/src/sh/extract_discussions_yearly.sh b/src/sh/extract_discussions_yearly.sh
index 7d605105cc3db5225a2960d4d5dfc293dd557541..910e9b191da78bd60ef7115b4f9e763c05e396b6 100755
--- a/src/sh/extract_discussions_yearly.sh
+++ b/src/sh/extract_discussions_yearly.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 
-year_start=1891
-year_end=1891
+year_start=$1
+year_end=$2
 
 for year in $(seq $year_start $year_end)
 do
@@ -14,6 +14,5 @@ do
     input_overlaps=data/lists/dict_overlaps.pickle
     output_annotatedxml=data/AB/${year}/05_annotatedxml.tar.gz
 
-    # renku run --isolation
-    python src/python/run_extract_discussions.py $input_lastnames $input_correctedxml $input_correctedmeta $input_notnames $input_overlaps $output_annotatedxml
+    renku run --isolation python src/python/run_extract_discussions.py $input_lastnames $input_correctedxml $input_correctedmeta $input_notnames $input_overlaps $output_annotatedxml
 done