Add global dimming
rename examle
Add support for multiple targets