Added batch plotting capability