Added single-thread option for slow raspberry pi