add license check to precommit hook