changed index to php