> I think easiest way is to create two scrips. As I can see you couldn't > change template from condition. Maybe an alternative might be to use the same template but put the conditional test there instead? Duncan