Modified scripts that produce latex and pdf reports & TR2 reports