Added logic to check cep stats publisher is enabled before setting cep related properties