changing home page over to use php template