changed the way to post according to the example script that works