fix mktemp incompatibility
fix piping
kraken-report update