Update index.php

Adding changed code.