             else if mesg.action == 'mintime'
                 p.set_mintime
                     mintime : mesg.args[0]
+                    cb      : (err, r) ->
+                        resp = r; cb(err)
+            else if mesg.action == 'network'
+                p.set_network
+                    network : mesg.args.length == 0 # no arg = enable
                     cb      : (err, r) ->
                         resp = r; cb(err)
             else

                        dbg("got new state -- #{@_state}")
                        @_update_state_db()
                        @_update_state_listeners()
                v = @_update_state_cbs
                delete @_update_state_cbs
                dbg("calling #{v.length} callbacks")

        dbg = @dbg("constructor")
        sqlite_db.select
            table   : 'projects'
            columns : ['state', 'state_time', 'state_error', 'mintime', 'network']
            where   : {project_id : @project_id}
            cb      : (err, results) =>
                if err
