Updates plot_script file.