Corrected creating pre-commit hook script