diff --git a/lam/templates/massBuildAccounts.php b/lam/templates/massBuildAccounts.php
index 68a4e5c7..b49316c5 100644
--- a/lam/templates/massBuildAccounts.php
+++ b/lam/templates/massBuildAccounts.php
@@ -41,6 +41,9 @@ include_once('../lib/modules.inc');
// Start session
startSecureSession();
+// check if this tool may be run
+checkIfToolIsActive('toolFileUpload');
+
// die if no write access
if (!checkIfWriteAccessIsAllowed()) die();
diff --git a/lam/templates/massDoUpload.php b/lam/templates/massDoUpload.php
index 93793ae8..993e8971 100644
--- a/lam/templates/massDoUpload.php
+++ b/lam/templates/massDoUpload.php
@@ -45,6 +45,9 @@ include_once('../lib/pdf.inc');
// Start session
startSecureSession();
+// check if this tool may be run
+checkIfToolIsActive('toolFileUpload');
+
// die if no write access
if (!checkIfWriteAccessIsAllowed()) die();
diff --git a/lam/templates/masscreate.php b/lam/templates/masscreate.php
index a8daa6d0..e9eeded3 100644
--- a/lam/templates/masscreate.php
+++ b/lam/templates/masscreate.php
@@ -43,6 +43,9 @@ include_once('../lib/pdfstruct.inc');
// Start session
startSecureSession();
+// check if this tool may be run
+checkIfToolIsActive('toolFileUpload');
+
// die if no write access
if (!checkIfWriteAccessIsAllowed()) die();
diff --git a/lam/templates/pdfedit/pdfpage.php b/lam/templates/pdfedit/pdfpage.php
index ade708d8..7c337704 100644
--- a/lam/templates/pdfedit/pdfpage.php
+++ b/lam/templates/pdfedit/pdfpage.php
@@ -51,6 +51,8 @@ startSecureSession();
// die if no write access
if (!checkIfWriteAccessIsAllowed()) die();
+checkIfToolIsActive('toolPDFEditor');
+
setlanguage();
// check if user is logged in, if not go to login
diff --git a/lam/templates/profedit/profilepage.php b/lam/templates/profedit/profilepage.php
index d4b34f9d..2e3c7e44 100644
--- a/lam/templates/profedit/profilepage.php
+++ b/lam/templates/profedit/profilepage.php
@@ -47,6 +47,8 @@ startSecureSession();
// die if no write access
if (!checkIfWriteAccessIsAllowed()) die();
+checkIfToolIsActive('toolProfileEditor');
+
setlanguage();
// check if user is logged in, if not go to login