Added document and changed index.php