first version of post tracking script implemented