Improved scripts and configuration. Made worker multithreaded