migration h2o -> swig for pages