Simplify status.php a bit