Made some changes to the way posts are written

The current way overruns memory...