Made the code a little easier to run for experiments: choices for reusing exisitng instances (for both master and worker) are commented out and new instances are created every time