Update Python script.
Increase log buffer size in Python script.