Updated index.php file to correct use of ps.