That script must be for N900, so it's not possible for N9 of course, at least for now.
Proposal to upgrade. Why not add to this package Led Notification. Very useful application.