How to run a script_field query?