in fact name should be the name of the style (ie: prosilver) the problem is that the method is used for two usages: define a style location and define a custom template directory.