Configuring cms2 and media-check