replace groovy code with requires reference
replace groovy code with card script
replace MagicPermanentAction with groovy closure
replace groovy code with card script
replace MagicPermanentAction with groovy closure
replace MagicTargetAction with groovy closure
add filter 'creature with a counter on it'