Improved genkernel command