Last backup version of fetchIndex.php