fixes bug 1003276 - Set Template and Environment from Venue and Privacy fields.