Remove writeTemplate method from run once

* runs only when they are called
Merge pull request #5 from revathskumar/composability

Remove writeTemplate method from run once