Updated index.php and some other files