added remove kernels option