PLD: add template deploy procedure to fab file