Added logarithmic graphing option to script