re-adding diagnostics.php