g('configuration has started');
    showUI(['in_progress']);
    detected = true;
  };
  // event listener for configuration failed event
  // use this to let the user know something has gone wrong
  var failed = function(event) {
    console.log('configuration has failed');
    var detail = event.detail ? JSON.parse(event.detail) : null;
    showUI(['failure','actions'], detail);
  };
  // event listener for configuration succeeded
  // use this to show a success message to a user in your welcome doc
  var