tried to extend to use EXT_SNIPPET instead of full document extension
updated extensions and format flags for mmd