Update index.php

Fixes #98 (relies on catalog_pointer module to generate the function)