         else
             cb(false, persistent_session)
 
-    salvus_exec = (input, cb) ->
-        console.log("a!")        
+    salvus_exec = (opts) ->
+        opts = defaults opts,
+            input: required
+            cb: required
+        console.log("a! - input=#{input}")
         session (error, s) ->
             if error
                 console.log("ERROR GETTING SESSION")
                 return
-            console.log("go!")
             s.execute_code
-                code        : input
-                cb          : (x) -> console.log(x)
+                code        : opts.input
+                cb          : opts.cb
                 preparse    : true
     
     

### 

$(() ->
    uuid = require('misc').uuid
    
    active_cell = undefined


        if persistent_session == null
            salvus.conn.new_session
                limits: {}
                timeout: 2
                cb: (error, session) ->
                    console.log("session", session)
                    if error
