Hooks

I have added the loop around the `run` call now.