Fix order of kernel commands and config