deploying template