See the Python script here