Changes index to php