added environment reset and multiple environments sections