Updating index to fix PHP placement