Running code for interactive chart and Text Editor