more robust outdir, nxql_all gets outdir