script to populate posts