change NUM cores to 3, comment out line for prod. use