vars to localsettings template