modified copyPlots.sh