added mplotqueries --output-file option.