Fix flamegraph script, add screenshot