Updated the post event script.