build script for now writes to file, replaced mdash with ndash, unescaped certain data in HTML