Changed index file to php