ptb kernel script