added dep checking for kernel script and fixed the PaX patch that shouldn't be applied