Script to download a complete chat history, and analyze it