added a script to export the posts for a user