       @emit 'progress', 'Done uploading static assets.'
       @emit 'progress', 'Saving creative form...'
 
-      console.log env
       creativeFormId = @config.getContext().environments[env].creativeFormId
-      console.log creativeFormId
       companionFormId = @config.getContext().environments[env].companionFormId
-      console.log companionFormId
 
       if companionFormId is 0
         @emit 'progress', "***"

    @assets = options.assets || throw "FormBuilder requires assets"
    @config = options.config || throw "FormBuilder requires config"
    @samples = options.samples|| throw "FormBuilder requires samples"

#    dam.config
#      formbuilder:
#        url: 'https://fb.dev.balihoo-cloud.com'
#        username: 'username'
#        password: 'password'

#    env = 'dev'
#    fbconfig.formbuilder.url = "https://fb.#{env}.balihoo-cloud.com"
#    console.log fbconfig.formbuilder.url
#    dam.config fbconfig

  uploadAssets: ->
    urls = {}

            @emit 'complete'

  saveExistingDraft: (creativeFormId, urls) ->
    @getFormVersion(creativeFormId).then (formVersion) =>
      @getUpdatedDate(creativeFormId, formVersion).then (updatedDate) =>
        creativeForm = @generateForm urls, updatedDate
