Updated scripts for generating Python bindings