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