#368 control.sh migration