A while ago, I made a hackish perl script which did the same thing as your app, except I used it exclusively for booting pcs.
I lost the script, but I remember having problems on one of the kernels, probably the 2.6 one, and one of the modules was not working for me, I don't remember if it was...