make kde histogram plot script