 
   run: =>
     @parseOptions()
-
+    options = {}
+    options.as = @as if @as?
     meshbluHttp = @getMeshbluHttp()
-    meshbluHttp.message @data, (error) =>
+    meshbluHttp.message @data, options, (error) =>
       return @die error if error?
 
       process.exit 0

  parseOptions: =>
    commander
      .option '-d, --data <\'{"topic":"do-something"}\'>', 'Message Data [JSON]'
      .option '-f, --file <path/to/message.json>', 'Message Data [JSON FILE]'
      .usage '[options] <path/to/meshblu.json>'
      .parse process.argv

    @filename = _.first commander.args
    @data = commander.data
    @updateFileName = commander.file
    @as = commander.as

    @data = @parseMessage(@updateFileName) if @updateFileName?

