Updated index.php and fixed repeat.