Updated a configurtion to handle threads and processes.