Another go at report.php