add -j option for parallelization