Make the error templates path configurable