Use unrestricted_apply for predicate script

Predicate security is checked at higher levels