<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _send_script(self, device_info, control_info, script, progress_callback):
 """Send a script by repeatedly sending it as a bunch of RPCs. This function doesn't do anything special, it just sends a bunch of RPCs with each chunk of the script until it's finished. """


        for i in range(0, len(script), 20):
            chunk = script[i:i+20]
            self._send_rpc(device_info, control_info, 8, 0x2101, chunk, 0.001, 1.0)
            if progress_callback is not None:
                progress_callback(i + len(chunk), len(script))