Edit kernel directory