Treat production and dev the same for templates