added a run script button with live plotting