added new post function script