Darn, "if (!UID)" is not valid in Synthesis scripts because it always evaluates to "true". This here is the correct line: if (UID == EMPTY) { UID = newuid(); } Niels, just for the sake of completeness, can you try that?