After extracting the region insert the render statement.