diff --git a/Box/Main.cpp b/Box/Main.cpp
index bdcc4789e3ab4ae421c883236f41636832adf671..a6c7d0f763dc1d65e29a21938dea21b3b5033d38 100644
--- a/Box/Main.cpp
+++ b/Box/Main.cpp
@@ -1,4 +1,4 @@
-// $Id: Main.cpp,v 1.6 2001-08-08 15:36:09 remacle Exp $
+// $Id: Main.cpp,v 1.7 2001-08-08 17:51:14 remacle Exp $
 
 #include <signal.h>
 #include "ParUtil.h"
@@ -8,6 +8,7 @@
 #include <sys/resource.h>
 #endif
 
+#include "PluginManager.h"
 #include "Gmsh.h"
 #include "GmshVersion.h"
 #include "Const.h"
@@ -91,6 +92,9 @@ int main(int argc, char *argv[]){
   signal(SIGSEGV, Signal);
   signal(SIGFPE,  Signal);
 
+  if(CTX.default_plugins)
+    GMSH_PluginManager::Instance()->RegisterDefaultPlugins();
+
   OpenProblem(CTX.filename);
   if(yyerrorstate)
     ParUtil::Instance()->Abort();
diff --git a/Box/Makefile b/Box/Makefile
index 56ce1e3eb57a4623a7e1eee3565b41a9b6809c3d..277f16c45d423812645432a879efd75cc10c6da7 100644
--- a/Box/Makefile
+++ b/Box/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.8 2001-08-08 15:36:09 remacle Exp $
+# $Id: Makefile,v 1.9 2001-08-08 17:51:14 remacle Exp $
 #
 # Makefile for "libBox.a"
 #
@@ -11,7 +11,7 @@ RM       = rm
 RANLIB   = ranlib
 LIB      = ../lib/libBox.a
 INCLUDE  = -I../Common -I../DataStr -I../Geo\
-           -I../Graphics -I../Mesh -I../Parser -I../Motif -I../Fltk -I../Parallel
+           -I../Graphics -I../Mesh -I../Parser -I../Motif -I../Fltk -I../Plugin -I../Parallel
 
 C_FLAGS       = -g
 OS_FLAGS      =