docs: function run(){ 
     warn=0;
     ers=0;
     suc=0;
    //count errors and breaks if something is wrong
    if(terminal.errors){
     terminal.errors.forEach(function(element){ //iterates over user-erros injected
      if(element.code[0]=== "E" ||element.code[0]=== "e"){
            ers++;
      }
      else if(element.code[0]=== "W"|| element.code[0]=== "w"){
            warn++;       
      } 
      else suc++;
     
    });
    } 
    terminal.ers= ers;
    terminal.warn=warn;
    terminal.suc=suc;
  //check the header and print it, then the body
  //steps(function(){  
  if(terminal.header && terminal.header[0]){
  checkCallback("header", function(){
    if(terminal.body && terminal.body[0]){
    checkCallback("body", function(){
      printMess();
      //displays the error debug audrey-messages
      if(bool!==false){
    if(terminal.errors){
     terminal.errors.forEach(function(element){
          if (element.code[0]=== "S" || element.code[0]=== "s"){
            aSuccess(element);
          }
          else if(element.code[0]=== "W" || element.code[0]=== "w"){
            aWarning(element);
          }
          else if(element.code[0]=== "E" || element.code[0]=== "e"){
            aError(element);
          }
         });
        }
       } 
       // Check the footer and print it
       checkCallback("footer", function(){console.log("");});     
      });
    }
    else{
      if(bool!==false){
       console.log("\n");
      if(terminal.errors) {
        terminal.errors.forEach(function(element){
          if (element.code[0]=== "S" || element.code[0]=== "s"){
            aSuccess(element);
          }
          else if(element.code[0]=== "W" || element.code[0]=== "w"){
            aWarning(element);
          }
          else if(element.code[0]=== "E" || element.code[0]=== "e"){
            aError(element);
          }
         });
        }
       } 
      if (terminal.footer) checkCallback("footer", function(){console.log("");});
    }
    });
    }
    else{
      if(terminal.body && terminal.body[0]){
    checkCallback("body", function(){
      printMess();
      //displays the error debug audrey-messages
      if(bool!==false){
       terminal.errors.forEach(function(element){
          if (element.code[0]=== "S" || element.code[0]=== "s"){
            aSuccess(element);
          }
          else if(element.code[0]=== "W" || element.code[0]=== "w"){
            aWarning(element);
          }
          else if(element.code[0]=== "E" || element.code[0]=== "e"){
            aError(element);
          }
         });
        }
       // Check the footer and print it
       checkCallback("footer", function(){console.log("");});     
      });
    }
    else{
  
      if (terminal.footer && terminal.footer[0]) checkCallback("footer", function(){console.log("");});
    }
  
    }
     
  //});
  }