Sets correct arguments for different kernels now