Allow to specify template in context settings

Signed-off-by: Sven Strickroth <email@cs-ware.de>