adds the mercury editor