 	#
 	# Returns nothing.
 	close: ->
-		console.log 'ROCKETCHATADAPTER -> close'.blue
+		console.log 'ROCKETCHATADAPTER -> close'.blue if DEBUG
 
 class InternalHubotReceiver
 	constructor: (message) ->
-		#console.log message
+		console.log message if DEBUG
 		if message.u.username isnt InternalHubot.name
 			room = RocketChat.models.Rooms.findOneById message.rid
 
 			if room.t is 'c'
-				console.log message
 				InternalHubotUser = new Hubot.User(message.u.username, room: message.rid)
 				InternalHubotTextMessage = new Hubot.TextMessage(InternalHubotUser, message.msg, message._id)
 				InternalHubot.adapter.receive InternalHubotTextMessage

	#
	# Returns nothing
	play: (envelope, strings...) ->
		console.log 'ROCKETCHATADAPTER -> play'.blue

	# Public: Raw method for invoking the bot to run. Extend this.
	#
	# Returns nothing.
	run: ->
		console.log 'ROCKETCHATADAPTER -> run'.blue
		@robot.emit 'connected'
		@robot.brain.mergeData {}
		# @robot.brain.emit 'loaded'

			catch e
				console.log "can't load #{scriptFile}".red
				console.log e

sendHelper = Meteor.bindEnvironment (robot, envelope, strings, map) ->
	while strings.length > 0
