fix missing requires_groovy_code in card script
correct groovy script