Markdown migration script