modifying the plotting scripts for the paper submission