diff --git a/src/sh/execute_per_year.sh b/src/sh/execute_per_year.sh
index bcefee7cf2904350663e63cc477f80f443fc9fc4..44d62e64bf76f000a37067c5042004bdec54c2f1 100755
--- a/src/sh/execute_per_year.sh
+++ b/src/sh/execute_per_year.sh
@@ -5,8 +5,8 @@
 # 3 - name of input file
 # 4 - name of output file
 
-year_start=1892
-year_end=1893
+year_start=$5
+year_end=$6
 
 for year in $(seq $year_start $year_end)
 do