All the $guidx$ replacement variables, $time$, as well as others are set when the Template Wizard first begins processing a template. Because of this, you can use a $guidx$ replacement variable multiple times in one template, and they will not change. When the wizard starts to process a new template, these values will be regenerated.