diff --git a/src/core/js/ext_export_to_xlsx.js b/src/core/js/ext_export_to_xlsx.js
index 2ac2f3417d86c34b23c45b1228f6480d4b0c9ac1..e304aebfcb0fe00a28d7e83ed789fe5e03eca288 100644
--- a/src/core/js/ext_export_to_xlsx.js
+++ b/src/core/js/ext_export_to_xlsx.js
@@ -113,8 +113,7 @@ var ext_export_to_xlsx = function ($, logger) {
 }($, log.getLogger("ext_export_to_xlsx"));
 
 $(document).ready(function () {
-    if ("ENABLED" == "ENABLED") {
-    //if ("${BUILD_MODULE_EXT_EXPORT_TO_XLSX}" == "ENABLED") {
+    if ("${BUILD_MODULE_EXT_EXPORT_TO_XLSX}" == "ENABLED") {
         // The following is the configuration for the LinkAhead WebUI.
         const get_context_root = (() => connection.getBasePath() + "Entity/");
         caosdb_modules.register(ext_export_to_xlsx);