iMac brightness setting script

I wrote a simple script to adjust the brightness om my iMac 27" running Ubuntu 11.10 oneiric. The script is using the gsd-backlight-helper that also available in Ubuntu precis 12.10 so I suppose this also works in 12.10. (let me know)

My solution is to add two brightness icons on the gnome-panel. One for brightness-up and one for brightness-down. (see screenshot)