formats index.php