Getting the control script working.