Add invoker script for pre-commit hooks