Implement different template downloads for different environment