add prepare scripts for pandoc