Remove writeTemplate method from run once

* runs only when they are called