Ported the Python Script widget.