add the possibility of turning on/off modalities from launch file