Python helper scripts