def createScript(self, fileContents, path, downloadFiles=[], repMap=None, repMaps=None):
    self.scriptFiles = self.createFiles(fileContents, path, repMap=repMap, repMaps=repMaps)
    for script in self.scriptFiles:
        for scriptwithindex in addIndex(script, self.NJobs):
            os.chmod(scriptwithindex, 493)
    return self.scriptFiles
def createScript(self, fileContents, path, downloadFiles=[], repMap=None, repMaps=None):
    self.scriptFiles = self.createFiles(fileContents, path, repMap=repMap, repMaps=repMaps)
    for script in self.scriptFiles:
        for scriptwithindex in addIndex(script, self.NJobs):
            os.chmod(scriptwithindex, 493)
    return self.scriptFiles