Improve output of pre commit script