Precommit checking script