added command line option to not plot