parametrize commands and number of workers