Fix hook
Add missing packages and gems