code: function(id, profileKey) {
      if (!profiles.hasOwnProperty("definitions")) {
          throw ("\"profiles\" dictionary is badly formed, no \"definitions\" key");
      }
      if (!profiles.definitions.hasOwnProperty(profileKey)) {
          if (!profiles.definitions.hasOwnProperty("default")) {
              throw ("\"" + profileKey + "\" is not a registred SLURM profile AND no default profile is defined");
          } else {
              profileKey = "default";
          }
      }
      var string = _preprocessorDump(id, profiles.definitions[profileKey]);
      return string;
  }
docs: ADD THIS TO HEADER if (job.cwd && job.cloneCwd) string += "cp -rf " + job.cwd + ' $WORKDIR';