Added some security to the template manifest calls