Revert "Added support for a "PreRun" action, to set extra variables on the template"

This reverts commit 32f7cf72ce14cac35672ebbd4809015c16882a80.