fix script that gets stack trace

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>