wrap dynamic hook evaluation in a before block so it runs before start