Use /opt/vyatta/etc/functions/script-template for VyOS template