changed post.sh to write error message to STDERR and return non zero exit code on wget failure