 
 handleNetworkCommand = (command, payload, connection, runtime, transport, debugLevel) ->
     if command is "start"
-        if liveProgramming
-          m = { protocol: 'network', command: command, payload: payload }
-          sendMessage runtime, m
-        else
-          resetAndUploadGraph runtime, connection, debugLevel
+        m = { protocol: 'network', command: command, payload: payload }
+        sendMessage runtime, m
     else if command is "stop"
-        if liveProgramming
-          m = { protocol: 'network', command: command, payload: payload }
-          sendMessage runtime, m
-        else
-          m =
-              protocol: "network"
-              command: "stopped"
-              payload:
-                  running: false
-                  started: false
-          sendAck connection, m
+        m = { protocol: 'network', command: command, payload: payload }
+        sendMessage runtime, m
     else if command is "edges"
         # TODO: merge with those of exported outports
         runtime.edgesForInspection = payload.edges

        sendAck connection, { protocol: 'graph', command: command, payload: payload }
    else if command is "addedge"
        graph.connections.push protocol.wsConnectionFormatToFbp(payload)
        if liveProgramming
          sendMessage runtime, { protocol: 'graph', command: command, payload: payload }
        else
          sendAck connection, { protocol: 'graph', command: command, payload: payload }
    else if command is "removeedge"
        graph.connections = connectionsWithoutEdge(graph.connections, protocol.wsConnectionFormatToFbp(payload))
        if liveProgramming
          sendMessage runtime, { protocol: 'graph', command: command, payload: payload }
        else
          sendAck connection, { protocol: 'graph', command: command, payload: payload }
    else if command is "addinitial"
        graph.connections.push protocol.wsConnectionFormatToFbp(payload)
        if liveProgramming
          sendMessage runtime, { protocol: 'graph', command: command, payload: payload }
        else
          sendAck connection, { protocol: 'graph', command: command, payload: payload }
    else if command is "removeinitial"
        graph.connections = connectionsWithoutEdge(graph.connections, protocol.wsConnectionFormatToFbp(payload))
        sendAck connection, { protocol: 'graph', command: command, payload: payload }


            type: "microflo"
            version: "0.4"
            capabilities: caps

        runtime.device.open () ->
          connection.send
            protocol: "runtime"
            command: "runtime"
            payload: r
          sendExportedPorts connection, runtime       
    else if command is 'packet'
        sendPacket runtime, payload.port, payload.event, payload.payload
    else
