Added a pre-commit hook that launches generate.sh