made the template lengths to load for the metadata grab