Changing the kernel to a val inside project