Added code to load template information and prepare the template object
On going implementation of the support for using templates to generate
new scripts