Add random token to templates