Index: /branches/FACT++_scripts_refactoring/Startup.js
===================================================================
--- /branches/FACT++_scripts_refactoring/Startup.js	(revision 18228)
+++ /branches/FACT++_scripts_refactoring/Startup.js	(revision 18229)
@@ -1,4 +1,6 @@
 'use strict';
 
+include("scripts/CheckFTU.js");
+include("scripts/CheckUnderflow.js");
 // To de done:
 //  - CheckLID status (should be open or closed)
@@ -114,21 +116,6 @@
 // Now we check the FTU connection
 // -----------------------------------------------------------------
-
-/*
-include("scripts/handleFtuCheck.js");
-
-loop = new Handler("FtuCheck");
-loop.ftuList = new Subscription("FTM_CONTROL/FTU_LIST");
-loop.add(handleFtuCheck);
-loop.run();
-loop.ftuList.close();
-
-dim.log("All FTUs are enabled and without error.");
-*/
-
-console.out("Checking FTU: start");
-include("scripts/CheckFTU.js");
-console.out("Checking FTU: done");
-console.out("");
+CheckFTU.checkFTU();
+
 
 // -----------------------------------------------------------------
@@ -178,6 +165,5 @@
 // (This is necessary after each power cycle)
 // ----------------------------------------------------------------
-
-include('scripts/CheckUnderflow.js');
+CheckUnderflow.checkUnderflow();
 
 // Now it is time to check the connection of the FADs
