added command line parameter for parallel