adding output dir param to Tapas