Added collect template command