query method in script