updated the index.php file.  fixed some compiling errors