update code to make tmp dir files
changed back line in python submit file