adds md extension