Moved config to templates