Here is your updated index.php with the requested changes: