     HTTP.put "#{pickAgent()}/storage?access_token=#{Settings.get('agentAuthToken')}", data: name: destination, source: source
 
 
-  startApp: (app, version, instance, parameters, options = {}) ->
+  startApp: (app, version, instance, parameters = {}, options = {}) ->
     unless ApplicationDefs.findOne {name: app, version: version}
       throw new Meteor.Error "Application #{app}:#{version} does not exist"
 

        'bigboat/agent/url': agentUrl
        'bigboat/startedBy': user._id
        'bigboat/storage/bucket': options.storageBucket
      service.restart = 'unless-stopped'

    console.log 'xxx', definition

          name: app
          version: version
          definition: definition
          bigboatCompose: bigboatCompose
          parameter_key: '_#_'
        instance:
          name: instance
