updating reposts script.