added possibility to load templates from buckets