I'm not certain on this, but I believe the reason it's in code is because the number of columns in a row is different between clips. So we have to programmatically make the template. We can certainly clean this up, though.