Made CMS dynamic