Changed the require function to allow for a program to require to only run on a certain kernel.