Add option to use current dir to queryApp script