added 'set-var-from-query' command - using diff from https://gist.github.com/tbk303/759803