diff --git a/templates/test_exit_strategy.sh.j2 b/templates/test_exit_strategy.sh.j2
index 3a462a36d5a9bec4e1ccc7be189b17c26ad732b7..2cab29371c66243f77ed8f1f4695b7c49e99b414 100644
--- a/templates/test_exit_strategy.sh.j2
+++ b/templates/test_exit_strategy.sh.j2
@@ -18,6 +18,7 @@ LOGFILE="/tmp/exit_log_${DATE}.log"
 
 EXIT_PERL="/usr/local/bin/rosettaExitStrategy/perl/exit_strategy.pl"
 EXIT_DB="/tmp/exit.db"
+EXIT_RECOVERY="--recovery"	# set to empty string to disable recovery mode or to "--recovery" to enable it
 
 # check user privileges
 if [ $UID -ne 0 ] ; then
@@ -52,7 +53,7 @@ echo -e "${MESSAGE}" | tee -a "${LOGFILE}"
 # generate exit database
 echo "${INFO}Begin: $(date)" | tee -a "${LOGFILE}"
 echo -e "${INFO}Generating SQLite Exit Database." | tee -a "${LOGFILE}"
-perl "${EXIT_PERL}" "${EXIT_DB}" "${MOUNTPOINT}" 2>> "${LOGFILE}"
+perl "${EXIT_PERL}" "${EXIT_RECOVERY}" --sqlitedb-file="${EXIT_DB}" "${MOUNTPOINT}" 2>> "${LOGFILE}"
 [[ $? -ne 0 ]] && echo "${ERROR} Couldn't create SQLite Exit Database, exiting." | tee -a "${LOGFILE}" && exit 10
 echo "${INFO}End: $(date)" | tee -a "${LOGFILE}"