added query action
made "send url" configurable