User script hot deployment not functioning
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:    ---JOBTREE WORKER OUTPUT LOG---
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:    Traceback (most recent call last):
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:      File "/usr/local/lib/python2.7/dist-packages/jobTree/worker.py", line 267, in main
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:        jobStore=jobStore)
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:      File "/usr/local/lib/python2.7/dist-packages/jobTree/target.py", line 714, in _execute
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:        returnValues = self.run(fileStore)
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:      File "/usr/local/lib/python2.7/dist-packages/jobTree/target.py", line 818, in run
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:        userFunction = self._getUserFunction()
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:      File "/usr/local/lib/python2.7/dist-packages/jobTree/target.py", line 791, in _getUserFunction
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:        return getattr(importlib.import_module(userFunctionModule.name), self.userFunctionName)
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:      File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:        **import**(name)
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:    ImportError: No module named testUserScript
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:    Exiting the worker because of a failed job on host ip-172-31-21-198
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:    ERROR:**main**:Exiting the worker because of a failed job on host ip-172-31-21-198
WARNING:jobTree.leader:2fa1bc1d-7dec-4b88-814f-42bfcc159a2b:    WARNING:jobTree.job:Due to failure we are reducing the remaining retry count of job 2fa1bc1d-7dec-4b88-814f-42bfcc159a2b to 0

diff --git a/src/toil/job.py b/src/toil/job.py
index 574f3550..ebe77fe5 100644
--- a/src/toil/job.py
+++ b/src/toil/job.py
@@ -342,7 +342,7 @@ class Job(object):
             Raises an exception if the given toil already exists.
             """
             setLoggingFromOptions(options)
-            with setupToil(options) as (config, batchSystem, jobStore):
+            with setupToil(options, userScript=job.getUserScript()) as (config, batchSystem, jobStore):
                 jobStore.clean()
                 if "rootJob" not in config.attrib: #No jobs have yet been run
                     # Setup the first batchjob.
['src/toil/job.py']