multiple files submit now takes output dir properly