diff --git a/grew/grew.py b/grew/grew.py
index 4b1f610b9b5cf91cb61c25ec8fce6bf1e92a3b45..3b9560f75609b07f764843cf573d74ae1e4d52a8 100644
--- a/grew/grew.py
+++ b/grew/grew.py
@@ -14,12 +14,12 @@ from grew import utils
 
 ''' Library tools '''
 
-def init():
+def init(dev=False):
     """
     Initialize connection to GREW library
-    :return: True if anything went right
+    :return: the ouput of the subprocess.Popen command.
     """
-    return network.init()
+    return network.init(dev)
 
 def grs(data):
     """Load a grs stored in a file
diff --git a/grew/network.py b/grew/network.py
index b1ae03ecfe58d32f064213e18288379d406df71a..fe4b4892faaa3fa29257b4c2ecbeddaf7529c930 100644
--- a/grew/network.py
+++ b/grew/network.py
@@ -25,13 +25,14 @@ def pid_exist(pid):
     except:
         return 0
 
-def init():
+def init(dev):
     global port, remote_ip, caml_pid
+    grewpy = "grewpy_dev" if dev else "grewpy"
     if not pid_exist(caml_pid):
         python_pid = os.getpid()
         while (port<8898):
             caml = subprocess.Popen(
-                ["grewpy", "--caller", str(python_pid), "--port", str(port)],
+                [grewpy, "--caller", str(python_pid), "--port", str(port)],
                 preexec_fn=preexec_function
             )
             caml_pid = caml.pid