adapt capifony for diem CMS