worke on control.sh