Change the detect script to look for index.php