move barchart generation to /tmp