make sure template replace runs when rev is complete