Updated Variable Errors in Index.php