The newer version of the script uses the /sys kernel interface to change the backlight. The older version was quite a hack, poking around some bytes. You can still find it on github.
The newer version can be found on github as well:
https://github.com/mverboom/keylight
I hope it is useful for someone :)