modified ptb build template