Change template in deploy hooks