Add precommit hook