updated to not delete output dir