Python scripts: added STATE IDLE before DRSCAN.