Use realpath to get the name of the script to run after kernel updates