Changed which hook it runs on