make template configurable outside of python