php adjustments, output.php