How to use session control with rotation machine (VM)?