Put reversion package inside cms if statement