adding histogram plot script.