split correctly, and settings.php included itself causing an infinite loop
loading anvd saving of environments done stright away so others can modify it
added to comments