Index: /trunk/FACT++/src/Readline.cc
===================================================================
--- /trunk/FACT++/src/Readline.cc	(revision 13898)
+++ /trunk/FACT++/src/Readline.cc	(revision 13899)
@@ -72,4 +72,5 @@
 Readline   *Readline::This   =  0;
 bool        Readline::fStopScript = false;
+int         Readline::fScriptDepth = 0;
 std::string Readline::fScript;
 
@@ -98,5 +99,5 @@
 //
 Readline::Readline(const char *prgname) :
-    fMaxLines(500), fLine(0), fScriptDepth(0), fCompletion(0)
+    fMaxLines(500), fLine(0), fLabel(-1), fCompletion(0)
 {
     if (This)
@@ -1019,5 +1020,5 @@
         catch (const logic_error &e)
         {
-            fCommandLog << "# ERROR - Inavlid label '" << str.substr(1) << "'" << endl;
+            fCommandLog << "# ERROR[" << fScriptDepth << "] - Inavlid label '" << str.substr(1) << "'" << endl;
             fLabel = -2;
             return true;
@@ -1030,5 +1031,5 @@
     if (fLabel>=0)
     {
-        fCommandLog << "# SKIP[" << fLabel << "]: " << str << endl;
+        fCommandLog << "# SKIP[" << fScriptDepth << "]: " << fLabel << " - " << str << endl;
         return true;
     }
@@ -1358,11 +1359,11 @@
     }
 
-    fCommandLog << "# " << Time() << " - " << name << " (START";
+    if (fScriptDepth++==0)
+        fStopScript = false;
+
+    fCommandLog << "# " << Time() << " - " << name << " (START[" << fScriptDepth<< "]";
     if (fLabel>=0)
         fCommandLog << ':' << fLabel;
     fCommandLog << ")" << endl;
-
-    if (fScriptDepth++==0)
-        fStopScript = false;
 
     fSection = -1;
@@ -1402,8 +1403,8 @@
     SetSection(-3);
 
+    fCommandLog << "# " << Time() << " - " << name << " (FINISHED[" << fScriptDepth<< "])" << endl;
+
     if (--fScriptDepth==0)
         fStopScript = false;
-
-    fCommandLog << "# " << Time() << " - " << name << " (FINISHED)" << endl;
 
     return rc;
Index: /trunk/FACT++/src/Readline.h
===================================================================
--- /trunk/FACT++/src/Readline.h	(revision 13898)
+++ /trunk/FACT++/src/Readline.h	(revision 13899)
@@ -29,5 +29,5 @@
     int fSection;
     int fLabel;
-    int fScriptDepth;
+    static int  fScriptDepth;
     static bool fStopScript;
     static std::string fScript;
@@ -108,4 +108,5 @@
     static void  StopScript() { fStopScript = true; }
     static bool  IsScriptStopped() { return fStopScript; }
+    static int   GetScriptDepth() { return fScriptDepth; }
 
     static std::string GetScript() { return fScript; }
