Updated precommit hook