Commented out spawning multiprocess as it seemed to not work