Template set up to read model. Populate script edited to work properly.