Move hooks to end