added support for changing rs's operation mode