Adding the required change in xterm_widget.py

Change allows user to initiate the xterm widget with a script to run whenever the xterm plugin loads