Build function can render final pages