Updated to be more configurable (still app.config reference in webtemplatemanager)