fixed extension in new_post script