Corrected deployment script, tried fix the problem with sharing cotext between threads