Fixed CDN environment variables injection into main template