in reply to Framing my scripts

Check out the TMPL_INCLUDE tag.

This should give you several ways to handle a framing template. You could have an outer template then specify the inner or add a header and footer to each template. Both work well it just depends on your situation.