commit script helper