pull out posting logic to post.sh