Various improvements to jekyllpre script