Support specifying custom template via mango Env.