Changing the configuration in a template