tagged release 3.0.2
diff --git a/rivet/init.tcl b/rivet/init.tcl
index 1b4e0a3..bff8e28 100644
--- a/rivet/init.tcl
+++ b/rivet/init.tcl
@@ -201,6 +201,7 @@
     }
 
     ::try {
+        set ::Rivet::script $script
         uplevel #0 $error_script
     } on error {err} {
         ::rivet::apache_log_error err "Rivet ErrorScript failed: $::errorInfo"