Hooks and deployment and stuff