Problem with conditional woocommerce custom checkout field

Ok, I figured it out (finally)

Instead of using the code above to add a new custom field, I changed it to this:

add_filter( 'woocommerce_checkout_fields', 'custom_override_checkout_fields' );

function custom_override_checkout_fields ( $fields ) {

$fields['order']['the_script'] = array (

woocommerce_form_field  ( 'the_script', array(
'type'    =>    'textarea',
'class'   => array('extracheckoutinfo form-row-wide'),
'label'   =>  __('What is the script?'),
'placeholder'  =>   __('You can skin this section if you added the "script" extra to your purchase'),
'required'    =>   true

);

return $fields

}

which now allows me to target my custom field like this:

unset ($fields['order']['the_script'] );