             log "------Object------"
             log JSON.stringify(object.val(), null, 4)
             log "------End Object------"
+          rl.prompt();
 
     when 'get:objects_t'
       getDB (db) ->

          for object in objects
            log "_id: #{object.data._id}, collection:#{object.data.collection}, 
            page_type:#{object.data.page_type}"

    when 'get:site_ids'
      getDB (db) ->

      checkForDb=l_token.match(/db.+(?=\()/)+""
      log "Check for DB #{checkForDb}"
      
      #helper function to check for type is array (recommended from coffescript site for robust checking)
      typeIsArray = ( value ) =>
        value and
        typeof value is 'object' and
        value instanceof Array and
        typeof value.length is 'number' and
        typeof value.splice is 'function' and
        not ( value.propertyIsEnumerable 'length' )

      #helper function to extract jsons from a token
      extractJsons = (token)  =>
        count=0;
