added break to index.php when looping through the environments