diff --git a/README.md b/README.md
index 66ca8be10d01fa636aec0adbdb81895bcd048d2b..c1eb7f18f1664dc2fcc1627afa0e7a6faaae80ae 100644
--- a/README.md
+++ b/README.md
@@ -24,7 +24,7 @@ OnDemand node):
   that allow users to define custom environment-based kernels from within the
   Jupyter notebook dashboard.
 - [Lmod](https://www.tacc.utexas.edu/research-development/tacc-projects/lmod)
-  6.0.1+ or any other `module restore` and `module load <modules>` based CLI
+  6.0.1+ or any other `module purge` and `module load <modules>` based CLI
   used to load appropriate environments within the batch job before launching
   the Jupyter Notebook server.
 
diff --git a/template/script.sh.erb b/template/script.sh.erb
index c5d51a66dfe70be08b0da2587e24a94989e20354..f0d5eb44e871d53915235384a0646a16e925c88f 100755
--- a/template/script.sh.erb
+++ b/template/script.sh.erb
@@ -8,8 +8,8 @@ cd "${HOME}"
 #
 
 <%- unless context.modules.blank? -%>
-# Restore the module environment to avoid conflicts
-module restore
+# Purge the module environment to avoid conflicts
+module purge
 
 # Load the require modules
 module load <%= context.modules %>