run hooks through template allowing for dynamic contexting in pre/post hooks

You can now run the pre/post hooks through jinja allowing for context variables to be accessed
_The_ script...