script for plotting everything in a directory