Update index.php

check for possible missing dependency