Added light switch control.