integrated php into index file