Added control over environment buttons.