query Object now set just before execution
now uses a flag for running script and popping vizzies (API?)
using the flag for API to re-execute query w/o UI
using the flag to execute query with UI