Add Post Script Function