Added the threads for each transactions

Created the threads for each script