Some modifications to grid.php example.