synchronized(entries) {
entry = (TaskEntry)entries.get(taskId);
if (entry == null) {
TaskDescription desc = getTaskDescription(modFunc);
GridpScriptTask task = new GridpScriptTask(modFunc.getFunction(), runScriptTask);
entry = new TaskEntry(taskId, task, desc);
entries.put(taskId, entry);
}