modified commit script