converted index to php with basic includes