Also the larger the enclosure the more needs to be fed normally because the insects escape into the plants or out of the enclosure. A piece of fruit such as a small wedge of apple can be place in the enclosure to attract the flies. By doing this the insects will go to the fruit and leave the animals along and the animals can go to the fruit and eat the insects when they are hungry. To prevent escapes from the cultures, apply a film of petroleum jelly along the top of the culture or store the cultures in a pan or container with water in it. To prevent escapes from the viviarium.
Bananas work great.
This keeps them in and helps the frogs find them to eat. The flies will go to the water and drown if they get out of the tank. These will feed on the flies that make it to the top of the tank. Any flies that get out drown and keep mites from getting in cultures. They don't get out of the tank.