<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def enable_script(zap_helper, script_name):
 """Enable a script."""

    with zap_error_handler():
        console.debug('Enabling script "{0}"'.format(script_name))
        result = zap_helper.zap.script.enable(script_name)

        if result != 'OK':
            raise ZAPError('Error enabling script: {0}'.format(result))

    console.info('Script "{0}" enabled'.format(script_name))