Moving local settings to a template file