adding precommit hook