basic script for creating post - a work in progress