setting up build script for posts