Improve post creation script