added plot_script.c