Fix bug. Add "environment" element configuration