a few updates for plotting scripts