script to add posts