Edited index.php to fix validation errors.