Added a set method so you can add templates from script