change the -R for plotting srcipts