Changing index file to php. Other minor changes.