Make script running multithreaded.