Added option for serial execution