more switching :varname to %(varname)s