Added script which handles kernel upgrades.

This fixes #88 and #89.
Part of the code was taken from goranche's pull request #95 .
Don't you mean *below* ?