Improvements to the kibana scripts.