added the script to add the post.